# 构件订单
# 构件类型 【 构件：类别 -> 类型 ->编号(大类、小类、数量)】
Component_type = ['PCT_0_01', 'PCT_0_02', 'PCT_0_03', 'PCT_0_04', 'PCT_0_05', 'PCT_0_06', 'PCT_0_07']
Worker_Code = ['Worker01', 'Worker02', 'Worker03']
Line_Code = ['1#', '2#', '3#', '4#', '5#', '6#']
# 订单
Order_List = ["Order1", "Order2"]
Virtual_Orders = {}
Order1 = [3, 4, 2, 4, 5, 6, 9]
Order2 = [3, 4, 2, 4, 5, 6, 9]
Order3 = [3, 4, 2, 4, 5, 6, 9]
Order4 = [3, 4, 2, 4, 5, 6, 9]

# 堆场
Yard_List = {}
Yards = {}
Yard1 = []
Yard2 = []
Yard3 = []
Yard4 = []


# 资源约束  【生产线】  【模具：类型同构件】  【工人】
# 生产线开放情况、模台
Line_Open = [1, 1, 1, 0, 0, 0]
Line_ModelStand = [10, 10, 10, 10, 10, 10]

# 模具类型以及数量
Mould_Code = Component_type
Mould_Amount = [3, 4, 5, 1, 2, 6, 8]

# 工人种类以及数量
Worker_Amount = [3, 4, 4]

# 多目标部分参数【 种群规模、迭代次数 】
Pop_Size = 100
Max_Iterations = 5

# 订单初始化
def Order_init(Order_List, Yard_List):
    Order_Temp = []
    for order in Order_List:
        print(order)


if __name__ == "__main__":
    # Data_Initialization()
    Order_init(Order_List,Yard_List)
